package com.badminton.entity.user;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author jie.yu
 * @Date 2023/8/18 16:21 2023
 */
@Data
public abstract class BaseEntity implements IBaseEntity {
    private Long id;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    public BaseEntity() {
        createTime = LocalDateTime.now();
        updateTime = LocalDateTime.now();
    }

}
